cmake_minimum_required(VERSION 3.20)
project(PineaTest)

# 设置标准为C++20
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# 打包为可执行文件
add_executable(${PROJECT_NAME} src/PineaTest.cpp)

# 指定包含的头文件目录
target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/../Pinea/include)
# 指定包含的链接库目录
target_link_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/../Pinea/lib)
# 指定链接的库
target_link_libraries(${PROJECT_NAME} PRIVATE Pinea)